# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年08月24日
"""
from docx import Document
from docx.shared import Cm

file = Document('./练习/练习.docx')
sec1 = file.sections[0]  # 获取第一个节
print('装订线边距:', sec1.gutter.cm)
sec1.gutter = Cm(2)
print('装订线边距:', sec1.gutter.cm)


file.save('./练习/21结果02.docx')
